﻿#region Header

// <file>
//     <copyright see="prj:///doc/copyright.txt"/>
//     <license see="prj:///doc/license.txt"/>
//     <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
//     <version>$Revision: 915 $</version>
// </file>

#endregion Header

namespace ICSharpCode.TextEditor.Document
{
    using System;

    #region Delegates

    public delegate void BookmarkEventHandler(object sender, BookmarkEventArgs e);

    #endregion Delegates

    /// <summary>
    /// Description of BookmarkEventHandler.
    /// </summary>
    public class BookmarkEventArgs : EventArgs
    {
        #region Fields

        Bookmark bookmark;

        #endregion Fields

        #region Constructors

        public BookmarkEventArgs(Bookmark bookmark)
        {
            this.bookmark = bookmark;
        }

        #endregion Constructors

        #region Properties

        public Bookmark Bookmark
        {
            get {
                return bookmark;
            }
        }

        #endregion Properties
    }
}